﻿#pragma once
#include "EditEntry.h"

class StringSelectEditEntry : public EditEntry {
    Q_OBJECT
public:
    explicit StringSelectEditEntry(QWidget *parent = nullptr);
    ~StringSelectEditEntry();
    void setStringList(const QStringList &list);
    void setValue(const QString &value);
    QString value() const;

signals:
    void valueChanged();

private:
    void initUi();
    void retranslateUi();

private:
    struct StringSelectEditEntryPrivate;
    QScopedPointer<StringSelectEditEntryPrivate> p;
};
